import request from '@/utils/request'

export function viewDBinfo() {
  return request({
    url: '/plm-sys/sysEmail/viewDBinfo',
    method: 'POST'
  })
}

export function view() {
  return request({
    url: '/plm-sys/sysEmail/viewSysEmail',
    method: 'POST'
  })
}

export function update(data) {
  return request({
    url: '/plm-sys/sysEmail/update',
    method: 'PUT',
    data
  })
}

export function checkemail(data) {
  return request({
    url: '/plm-sys/sysEmail/sysEmail/ckeckemail',
    method: 'POST',
    data
  })
}
